﻿<?xml version="1.0" encoding="utf-8"?>
<ArrayOfWorkItemConfigurationTransformationItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.teamprojectmanager.codeplex.com/workitemconfigurationtransform/2013/04">
  <WorkItemConfigurationTransformationItem>
    <Description>Scrum 2.0 to 2.2 - Bug and Product Backlog Item</Description>
    <TransformationType>Xdt</TransformationType>
    <TransformationXml>&lt;?xml version="1.0" encoding="utf-8" ?&gt;&#xD;
&lt;!-- This transformation updates the Scrum 2.0 "Bug" and "Product Backlog Item" definitions to v2.2 --&gt;&#xD;
&lt;!-- See http://blogs.msdn.com/b/visualstudioalm/archive/2013/04/04/upgrade-your-2012-process-template-from-rtm-to-update-2.aspx for details --&gt;&#xD;
&lt;Witd:WITD xmlns:Witd="http://schemas.microsoft.com/VisualStudio/2008/workitemtracking/typedef" xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"&gt;&#xD;
  &lt;WORKITEMTYPE&gt;&#xD;
    &lt;WORKFLOW&gt;&#xD;
      &lt;TRANSITIONS&gt;&#xD;
        &lt;!-- Add missing transitions --&gt;&#xD;
        &lt;!-- First remove the transitions if they exist to make this script idempotent --&gt;&#xD;
        &lt;!-- Then insert the transitions at the end --&gt;&#xD;
        &lt;TRANSITION from="Approved" to="New" xdt:Transform="Remove" xdt:Locator="Match(from,to)" /&gt;&#xD;
        &lt;TRANSITION from="Approved" to="New" xdt:Transform="Insert"&gt;&#xD;
          &lt;REASONS&gt;&#xD;
            &lt;DEFAULTREASON value="Moved to the backlog" /&gt;&#xD;
          &lt;/REASONS&gt;&#xD;
        &lt;/TRANSITION&gt;&#xD;
        &lt;TRANSITION from="Committed" to="New" xdt:Transform="Remove" xdt:Locator="Match(from,to)" /&gt;&#xD;
        &lt;TRANSITION from="Committed" to="New" xdt:Transform="Insert"&gt;&#xD;
          &lt;REASONS&gt;&#xD;
            &lt;DEFAULTREASON value="Moved to the backlog" /&gt;&#xD;
          &lt;/REASONS&gt;&#xD;
        &lt;/TRANSITION&gt;&#xD;
        &lt;TRANSITION from="Done" to="New" xdt:Transform="Remove" xdt:Locator="Match(from,to)" /&gt;&#xD;
        &lt;TRANSITION from="Done" to="New" xdt:Transform="Insert"&gt;&#xD;
          &lt;REASONS&gt;&#xD;
            &lt;DEFAULTREASON value="Moved to the backlog" /&gt;&#xD;
          &lt;/REASONS&gt;&#xD;
        &lt;/TRANSITION&gt;&#xD;
        &lt;TRANSITION from="Done" to="Approved" xdt:Transform="Remove" xdt:Locator="Match(from,to)" /&gt;&#xD;
        &lt;TRANSITION from="Done" to="Approved" xdt:Transform="Insert"&gt;&#xD;
          &lt;REASONS&gt;&#xD;
            &lt;DEFAULTREASON value="Additional work found" /&gt;&#xD;
          &lt;/REASONS&gt;&#xD;
        &lt;/TRANSITION&gt;&#xD;
        &lt;TRANSITION from="Approved" to="Done" xdt:Transform="Remove" xdt:Locator="Match(from,to)" /&gt;&#xD;
        &lt;TRANSITION from="Approved" to="Done" xdt:Transform="Insert"&gt;&#xD;
          &lt;REASONS&gt;&#xD;
            &lt;DEFAULTREASON value="Work finished" /&gt;&#xD;
          &lt;/REASONS&gt;&#xD;
          &lt;FIELDS&gt;&#xD;
            &lt;FIELD refname="Microsoft.VSTS.Common.ClosedDate"&gt;&#xD;
              &lt;SERVERDEFAULT from="clock" /&gt;&#xD;
            &lt;/FIELD&gt;&#xD;
          &lt;/FIELDS&gt;&#xD;
        &lt;/TRANSITION&gt;&#xD;
      &lt;/TRANSITIONS&gt;&#xD;
    &lt;/WORKFLOW&gt;&#xD;
  &lt;/WORKITEMTYPE&gt;&#xD;
&lt;/Witd:WITD&gt;</TransformationXml>
    <WorkItemConfigurationItemType>WorkItemType</WorkItemConfigurationItemType>
    <WorkItemTypeNames>Bug;Product Backlog Item</WorkItemTypeNames>
  </WorkItemConfigurationTransformationItem>
  <WorkItemConfigurationTransformationItem>
    <Description>TFS2012.0 or TFS2012.1 to TFS2012.2 - Agile Configuration</Description>
    <TransformationType>Xdt</TransformationType>
    <TransformationXml>&lt;?xml version="1.0"?&gt;&#xD;
&lt;!-- This transformation updates the Agile Configuration from TFS 2012.0 or TFS 2012.1 to TFS 2012.2 --&gt;&#xD;
&lt;!-- See http://blogs.msdn.com/b/visualstudioalm/archive/2013/04/04/upgrade-your-2012-process-template-from-rtm-to-update-2.aspx for details --&gt;&#xD;
&lt;AgileProjectConfiguration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"&gt;&#xD;
  &lt;ProductBacklog&gt;&#xD;
    &lt;Columns&gt;&#xD;
      &lt;!-- First remove the Tags column if it exists to make this script idempotent --&gt;&#xD;
      &lt;Column refname="System.Tags" xdt:Transform="Remove" xdt:Locator="Match(refname)" /&gt;&#xD;
      &lt;!-- Insert the Tags column at the end --&gt;&#xD;
      &lt;Column width="200" refname="System.Tags" xdt:Transform="Insert" /&gt;&#xD;
    &lt;/Columns&gt;&#xD;
  &lt;/ProductBacklog&gt;&#xD;
&lt;/AgileProjectConfiguration&gt;</TransformationXml>
    <WorkItemConfigurationItemType>AgileConfiguration</WorkItemConfigurationItemType>
    <WorkItemTypeNames i:nil="true" />
  </WorkItemConfigurationTransformationItem>
</ArrayOfWorkItemConfigurationTransformationItem>